package com.jun.admin.core.model.common;

import lombok.Data;

/**
 * @author yuejun.li
 * @date 2024/8/2 17:19:00
 * 基于mysql持久化的runnable
 */
@Data
public class MysqlRunnable implements Runnable{

    private Runnable runnable;

    //任务名称
    private String taskName;

    @Override
    public void run() {
        runnable.run();
    }
}
